package com.lin.alipay.config;

import org.springframework.context.annotation.Configuration;

/**
 * @作者: 林江
 * @创建时间: 2024/2/21
 * @功能:
 */
@Configuration
public class AlipayConfig {
    // 商户appid
    public static String APPID = "9021000122673771";
    // 私钥 pkcs8格式的
    public static String RSA_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCfarvjmxGiWVb9mzJL96f8rsOuR7vUGKYWzyhaMr2zkFHGTbyJ2dhRu+hItjcoCYVTmJ7SGoPX7dAuLXuhT0Z8b4UhSh7m1GEvUy1uWJrmjblRMm+3EqS6JUABmpzMVvtUmaHjqzPQzlUSlAN4Pk120+15kv6EBlIGpSnVfTdvvyDkPzuD8KaDaAI1BAZrk2Y/FqEPMaUbJIGxhCV4/d72/JCXE3U93/bHA+qup26obbZJw0grtxiF2xbYuK0293YMMb0/C3pDZu7gm7Dma+XWM5lj4KAfBis2rGCNgGSJMBfgqL6BMypycLK4p9FmnzdR8SzSfdyLxTi4ocmPkqovAgMBAAECggEBAJDBpLc6ujqHkXxcDsH4smu6bim1LZOchkSz+1pcNPH2nKrLL+alD864KGbOPyt16cFNFvqF5S6P3bfwyRBjIgggY+0klwbX1x/YEarffljYXGyktdixby8wX/yU3siWO0ZI8z3+2eBDW/Cwwq3PNRwvuLXqin5sFtO96kzXlR08K16Py7CGZ8mzsLOC5BGlOHnjGTCkADyc4RxvD8jYp2FUKGjmc/HlvEhnf7eXcPtK4mcCuVByTPvbMeyzrXrtEMAQVDzYyqMqDLmP3gjpAIWdpzfP/s3miF/xD12JZ+gJDAy//pjtt5LpCSWHvpyULIota3lKSWpAJMnkgOchbWECgYEA0+g+VV/9U7kO2twEWfGvCFT8wHJ7SJZC3d0WGlgaThnPEVuPUeYN+h97VZkJEOnSUHxbMDsz7/f4ZIy3GhoTcXjLSJroi6ZlUzHeuMZOxRXigjH29x6RKrZWoYyWXXciuHgYq+GAhEfw+KPD9L9kqu85NM8bMfC3RV10ohSwgdkCgYEAwJZ3q6kQngdFxtPMswEDvCuyXOacs6Lt0LNUwa4SciYyzEXsPOlTXfXjLX4R5I9L4nFwHFS2Ix24PRliYayK5zlb450nje9UxV5gxlvg5Yev6EGMgaHWaSLeL1aReSOvfWj5vrNLpQlHH6LR3NLsSQbMSIxmEgb2cyDFBX9Uf0cCgYBw+zxwzJMGln5jFjeDtSY7bQStntw4YVUZcY0dUqgDyCLtAEIzylLdbveVNdjtmZ02qHb+CjKw2ScohRYC5rBDKcJI3b7q5jbT2p0DK0hIMFjqTbV9IGEJwtoBnDF3d9OdQvr0eXDKFolWKAqMbZdAw/dePqYjRFKSuzc6S4moUQKBgAaFUbn7OHfRUTiBNV4eO60kYZ6ppEakzp6RY95G8ZLx3ihyeaQ6VjtJNw70RNDTVUNuidg7ugsIV5OiB2W9PNrFY2oaiRtSLjGcl3Q/6iZ7aKZZidNd0m+u4Y0CxlwurCN36XTeh0IoRUM59RcgASYb19DhCBe2KqQNSP59qDPDAoGABDiwa5QGtqPmJRD3Xo4mlLKI8lr5gWH1lT5xekB9GJwaqCOMlxfqRchyL17e/v856RffJa5CdLow/ucRfGfia2TWctVPODPfza+1nHNxsH5m37IzbvxK6KdE4nkP/7OIoMDOUdISIUwNHnGmYc9Mbn0wKl/OqXqP+DLVyrn5RV4=";
    // 服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://商户网关地址/alipay.trade.wap.pay-JAVA-UTF-8/notify_url.jsp";
    // 页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
    public static String return_url = "http://localhost:8000/return_url.html";
    // 请求网关地址
    public static String URL = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";
    // 编码
    public static String CHARSET = "UTF-8";
    // 返回格式
    public static String FORMAT = "json";
    // 支付宝公钥
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApKV4IfP4IyfqM6gXW/0e7INSh8okEyVM+VQcCIj1Roixo2uwcVQqNF1jLsBcqpmf0XUlU2DP8SMmXh6bD3IE3xaFdreSHfmPbz/m38ApRi/sNcHPPAXag1kXhygr2fzZZapsVUjxw5pRlScpTE/CRST0uR3ziRlIE/W/s8rMMrSu5qqEP9Y64TyC5XATXLSGC4uJ7kTcpovZuTvEUGr11jo0vGZNQpAR6HNSUxK93wqQ7Kp1dcXs/UFGTPHWMj0d1g1FbJzO6id1eHoWgl6DmgHDT90Z2gWxkE7YQoTrltMh/LuitgkNNJBfRwr3X1nztkNwgjoD/2FZkzBxvZQCgwIDAQAB";
    // 日志记录目录
    public static String log_path = "/log";
    // RSA2
    public static String SIGNTYPE = "RSA2";
}
